home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / freeWAIS-sf-1.1 / x / MyListP.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-04  |  2.1 KB  |  67 lines

  1. /*
  2.  * MyList.h - private declarations
  3.  *
  4.  * Subclass of the Athena List widget to provide notification on
  5.  * de-selection of list items.
  6.  *
  7.  * Written by Garrett A. Wollman, Garrett.Wollman@uvm.edu.
  8.  *
  9.  * Copyright 1992, University of Vermont and State Agricultural College.
  10.  *
  11.  * Permission to use, copy, modify, distribute, and sell this software and its
  12.  * documentation for any purpose is hereby granted without fee, provided that
  13.  * the above copyright notice appear in all copies and that both that
  14.  * copyright notice and this permission notice appear in supporting
  15.  * documentation, and that the name of U.V.M. not be used in advertising or
  16.  * publicity pertaining to distribution of the software without specific,
  17.  * written prior permission.  U.V.M. makes no representations about the
  18.  * suitability of this software for any purpose.  It is provided "as is"
  19.  * without express or implied warranty.
  20.  *
  21.  * U.V.M. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
  22.  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL U.V.M.
  23.  * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  24.  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
  25.  * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 
  26.  * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  27.  */
  28.  
  29. /* Copyright (c) CNIDR (see ../COPYRIGHT) */
  30.  
  31.  
  32. #ifndef _h_MyListP        /* use programmer's namespace */
  33. #define _h_MyListP
  34.  
  35. #define MyListP_id "$Id: MyListP.h,v 1.2 1994/08/05 07:21:43 pfeifer Exp $"
  36.  
  37. #include <X11/CoreP.h>
  38. #include <X11/Xaw/SimpleP.h>
  39. #include <X11/Xaw/ListP.h>
  40.  
  41. typedef struct {
  42.   int MyListDummy;
  43. } MyListClassPart;
  44.  
  45. typedef struct _MyListClassRec {
  46.   CoreClassPart core_class;
  47.   SimpleClassPart simple_class;
  48.   ListClassPart list_class;
  49.   struct { int MyListDummy; } mylist_class;
  50. } MyListClassRec;
  51.  
  52. extern MyListClassRec myListClassRec;
  53.  
  54. typedef struct {
  55.   int MyListDummy;
  56. } MyListPart;
  57.  
  58. typedef struct _MyListRec {
  59.   CorePart core;
  60.   SimplePart simple;
  61.   ListPart list;
  62.   MyListPart mylist;
  63. } MyListRec;
  64.  
  65.  
  66. #endif /* defined( _h_MyListP ) */
  67.